<template>
    <div class="layout">
        <Card>
            <div slot="title">
                <a @click="close" class="back-title fl">
                    <Icon type="ios-arrow-back" style="margin: 0 0 2px 0"/>返回
                </a>
                <Button @click="close" class="fl" type="text" icon="ios-arrow-back">返回</Button>
                <Alert class="fl ml10 mb0">当前班级: {{classes.classesName}}</Alert> 
                
            </div>
            <div>
                <table>
                    <tr v-for="(rows,i) in list" :key="i">
                        <!-- {{rows}} -->
                        <td v-for="(col,j) in rows" :key="j">
                            {{col.time||col.course}}
                        </td>
                    </tr>
                </table>
            </div>
        </Card>
    </div>
</template>
<script>
    export default {
        data(){
            return{
                classes:{
                    classesName:"环治061班"
                },
                list:[
                    [{"time":"上午1"},{},{},{"course":"数学"},{},{}],
                    [{"time":"上午1"},{},{"course":"数学"},{},{},{}],
                    [{"time":"上午1"},{},{},{"course":"数学"},{},{}],
                    [{"time":"上午1"},{},{},{"course":"数学"},{},{}],
                    [{"time":"上午1"},{},{},{"course":"数学"},{},{}],
                    [{"time":"上午1"},{},{},{"course":"数学"},{},{}],
                ]
            }
        },
        
        beforeCreate(){
        },
        created(){
            
        },
        beforeMount(){},
        mounted(){
            
        },
        beforeUpdate(){},
        updated(){},
        beforeDestroy(){},
        computed:{},
        methods:{
            
        },
        watch:{},
        filters:{}
    }
</script>
<style scoped lang="less">
  table{
      width:800px;
      td{
            border:1px solid #f00;
            width: 16.66667%;
        }
  }
</style>